package com.proman;

import com.wind.WindConstraints;
import com.wind.WindServlet;

public class ProManServlet extends WindServlet {

	protected void registerContraints() {
		super.registerContraints();
		
		WindConstraints.addType("taskDefinition");
		WindConstraints.registerDefault("taskDefinition", "parent", null);
		WindConstraints.registerUnique("taskDefinition", "code");
		WindConstraints.registerNotNull("taskDefinition", "code");
		WindConstraints.registerUnique("taskDefinition", "title");
		WindConstraints.registerNotNull("taskDefinition", "title");
		WindConstraints.registerNotNull("taskDefinition", "description");
	}

}
